package com.example.demo.service;

import com.example.demo.common.response.ResponsePage;
import com.example.demo.entity.Pet;
import com.example.demo.entity.VO.Announcement;
import com.example.demo.entity.param.AnnouncementParam;
import com.example.demo.entity.param.PetParam;
import org.springframework.stereotype.Service;


@Service
public interface AdminService {
    void addPet(Pet pet);

    void updatePet(Pet pet);

    Pet getPetById(Long id);

    ResponsePage<Pet> getPetsList(PetParam petParam);

    ResponsePage<Announcement> getAnnouncementList(AnnouncementParam announcementParam);

    void editAnnouncementList(Announcement announcement);

    void addAnnouncementList(Announcement announcement);
}
